home *** CD-ROM | disk | FTP | other *** search
- The SETPTR program is a simple program for controlling settable printers.
-
- The SETPTR program takes arguments on its command line, and sends specific
- control codes to LPT1: to set the printer. It takes the form:
-
- SETPTR /12/SMRGN/CORR
-
- where "/" is a delimiter between parameters. The exact set of legal parameters
- is given in a HELP screen within each SETPTR program. In the above example,
- the printer attached to LPT1: is first set to 12 characters per inch (elite),
- then a one-inch left margin is set, then the printer is put in to
- correspondence mode.
-
-
-
-
-
-
-
-
-
-
-
-
- There are a few particular items of interest. Unknown parameters (as when I
- might type "/VORR" instead of "/CORR"), are displayed as unknown. No action
- is taken with respect to the unknown parameter, but any other parameters in
- the line are acted on. Parameters are acted upon in the order that they
- appear on the command line. This is important, because if you end the line
- with a RESET command, anything on the first part of the line gets cancelled.
-
- The very first character after the SETPTR name (not counting the space) is
- taken as the delimiter for the rest of the line. Accordingly, the following
- lines are all equivalent:
-
- SETPTR /12/SMRGN/CORR
- SETPTR @12@SMRGN@CORR
- SETPTR Z12ZSMRGNZCORR
-
- If the SETPTR command is typed with no parameters on the command line, the
- target printer type and version number are displayed.
-
-
-
-
-
-
- The programs are distributed with file names of SETPTRx.COM, where "x" is a
- two-character code to distinguish the target printer. A list of which ones
- are which follows:
-
- SETPTR01.COM - Epson RX-80 SETPTR07.COM - HP LaserJet II
- SETPTR02.COM - Epson LQ 800 SETPTR08.COM - Epson MX-80
- SETPTR03.COM - IBM Graphics SETPTR09.COM - Dynax DX-15
- SETPTR04.COM - Citizen MSP-10
- SETPTR05.COM - Okidata w/out Plug N' Play
- SETPTR06.COM - Okidata with Plug N' Play
-
-
- To install one of the programs using the supplied batch command files, type
- INSTALL with this disk in the default drive. You can also rename the program
- directly to any other name that you wish. The batch files will rename it to
- SETPTR.
-
- Whenever you need help remembering which parameters are available, the
- parameter /HELP will display the help screen associated with that copy of
- SETPTR, i.e.:
-
- SETPTR /HELP
-
- I hope you find these programs useful. Please copy and distribute them freely
- among your friends and enemies. All that we ask is that the ENTIRE set of
- files be distributed, without modification (No fair erasing MY address below,
- and substituting yours!). If you do find the SETPTR program useful, a
- contribution of $5.00 to:
- +---------------------+
- | Laminar Process | Contacts: MCI Mail: 201-6274 (evogt)
- | P. O. Box 307 | Arpa: efv@mbunix.mitre.org
- | Lexington, MA 02173 | EasyLink: 62930778
- +---------------------+
- would be appreciated.
-
- ATTENTION PEOPLE WITH UNSUPPORTED PRINTERS:
- If you would like a SETPTR for a printer not currently supported, send a copy
- of the control codes along with $10.00 to the above address.
-
- ATTENTION OEMS AND VARS:
- If you would like a custom message where the "No Command Line" message appears
- for OEM or other reasons, send $25.00 along with the text of the message to
- the above address.
- SETPTR 2.2 15 January 1990
-